package com.ruoyi.web.controller.main;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.domain.LhqWork;
import com.ruoyi.domain.LhqWorkCategory;
import com.ruoyi.service.ILhqWorkCategoryService;
import com.ruoyi.service.ILhqWorkService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * 著作Controller
 *
 * @author ruoyi
 * @date 2020-09-08
 */
@Controller
@RequestMapping("/ruoyi/main_v2")
public class main extends BaseController {
    private String prefix = "";
    @RequiresPermissions("ruoyi:work:view")
    @GetMapping()
    public String work() {
        return prefix + "/main_v2";
    }

}
